package com.zd.service;

import com.zd.entity.Topic;
import java.util.List;

public interface TopicService {

    public List<Topic> queryAllTopics();

    public Topic addTopic(Topic topic);

    Topic queryTopicByTid(Long tid);

    Topic updateTopic(Topic topic);

    Topic queryTopicByTname(String tname);

    void deleteTopic(Long tid);
}
